package com.atguigu.springcloud.exception;

import com.atguigu.springcloud.enums.BaseExceptionCode;
import lombok.Getter;

/**
 * @Author lizhilong
 * @create 2020/5/2 14:10
 * @desc
 */
@Getter
public enum PaymentBusinessExceptionEnum implements BaseExceptionCode{
    RECORD_NOT_FOUND("000001","记录不存在"),
    CREATE_ERROR("000002","创建失败")

    ;

    private  String errorCode;
    private  String errorMessage;

    PaymentBusinessExceptionEnum(String errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

}
